package com.atDemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @ClassName: CarApplication 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2022/7/22 13:49
 * @Week: 星期五
 * @Version: v1.0
 */
@SpringBootApplication
public class CarApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(CarApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CarApplication.class);
    }
}
